pull: mark commits from local cache as partial
authorJonathan Lebon <jlebon@redhat.com>
Fri, 11 Aug 2017 14:16:17 +0000 (10:16 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 14 Aug 2017 12:04:42 +0000 (12:04 +0000)
commit64b7c420255e71dacc0549e0f9f20cfda2b2d524
treee975a487857d96c823190db27623b68a78e29abb
parent2522db016456fbb0c83a9b26e8e73c11d7471aec
pull: mark commits from local cache as partial

If one of the localcache repos has the exact same commit we resolved
from the remote, then we need to make sure to mark it as partial so that
we download the full tree.

Closes: #1074
Closes: #1076
Approved by: cgwalters
man/ostree-pull.xml
src/libostree/ostree-repo-pull.c
tests/test-pull-localcache.sh